package com.znsd.study.service.impl;

import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.znsd.study.dao.SpecialtyDao;
import com.znsd.entitys.SpecialtyInfo;
import com.znsd.study.service.SpecialtyService;
@Service
public class SpecialtyServiceImpl implements SpecialtyService{

	@Autowired
	private SpecialtyDao sao;

	@Override
	public List<SpecialtyInfo> treeList() {
		// TODO Auto-generated method stub
		return sao.treeList();
	}

	@Override
	public List<SpecialtyInfo> queryPid(String id) {
		return sao.queryPid(Integer.parseInt("1"));
	}
	
	/*
	 * @Override public List<Specialty> majorList() { // TODO Auto-generated method
	 * stub
	 * 
	 * return sao.majorList(); }
	 * 
	 * @Override public List<Specialty> currList(String fId) { // TODO
	 * Auto-generated method stub return sao.currList(fId); }
	 * 
	 * @Override public List<Specialty> chapterList(String fId) { // TODO
	 * Auto-generated method stub return sao.chapterList(fId); }
	 */

}
